import { ApiService } from './ApiService'

// 写死演示
const appKey = import.meta.env.VITE_APP_KEY || 'demo_app_key'
const sign = import.meta.env.VITE_SIGN || 'demo_sign'
const workflowHooks = {
  PROJECT_SUBMIT: import.meta.env.VITE_HOOK_PROJECT_SUBMIT || 'https://your-hook-url',
}

// 仓当先项目
export const cdx = new ApiService(appKey, sign, workflowHooks)
// 其他项目
export const api = new ApiService(appKey, sign, workflowHooks)
